package com.endurance;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
// 代表开启Feign的调用
@EnableFeignClients
// 开启熔断器
@EnableCircuitBreaker
 public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
